package beans.dao;

import java.util.Arrays;

public class person1 {
    private String habits[];
    private woman friends[];

    public void setHabits(String[] habits) {
        this.habits = habits;
    }

    public void setFriends(woman[] friends) {
        this.friends = friends;
    }

    @Override
    public String toString() {
        return "person1{" +
                "habits=" + Arrays.toString(habits) +
                ", friends=" + Arrays.toString(friends) +
                '}';
    }
}
